package com.mybed.crm.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

//接收商机管理的分页查询实体类
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageBusinessDto extends PageDto{
    //客户ID
    private Long id;
    //手机号
    private String phone;
    //客户姓名
    private String name;
    //商机归属
    private String owner;
    //商机状态
    private Integer status;
    //公海池的学科查询
    private String subject;
    //创建时间
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    private LocalDate beginCreateTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm")
    private LocalDate endCreateTime;
}
